ComponentOne Bitmap for UWP
ColorF Constructor(Single[])

C1.UWP.DX Assembly > C1.Util.DX Namespace > ColorF Structure > ColorF Constructor : ColorF Constructor(Single[])
The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.
Initializes a new instance of the ColorF struct.
Syntax
'Declaration
 
Public Function New( _
   ByVal values() As System.Single _
)
public ColorF( 
   System.float[] values
)

Parameters

values
The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.
Exceptions
ExceptionDescription
Thrown when values is null.
Thrown when values contains more or less than four elements.
See Also

Reference

ColorF Structure
ColorF Members
Overload List